package com.siyoumi.app.modules.user.vo;

import com.siyoumi.validator.annotation.HasAnyText;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.Size;

//分销员
@Data
@Accessors(chain = true)
public class VoSale {
    private String sale_id;
    private String sale_acc_id;
    private String sale_type = "";
    @HasAnyText(message = "缺少姓名")
    @Size(max = 50)
    private String sale_name;
    @Size(max = 20)
    @HasAnyText(message = "缺少手机号")
    private String sale_phone;
    @Size(max = 20)
    @HasAnyText(message = "缺少身份证")
    private String sale_idcard;
    private Integer sale_level;
    private String sale_uid;
}
